Analysis of random LC tries

نویسنده

  • Luc Devroye
چکیده

LC tries were introduced by Andersson and Nilsson in 1993. They are compacted versions of tries or patricia tries in which, from the top down, maximal height complete subtrees are level compressed. Andersson and Nilsson (1993) showed that for i.i.d. uniformly distributed input strings, the expected depth of the LC patricia trie is (log n). In this paper, we reene and extend this result. We analyze both kinds of LC tries for the uniform model, and study the depth of a typical node and the height H n. For example, we show that H n is in probability asymptotic to log 2 n and p 2 log 2 n for the LC trie and the LC patricia trie, respectively, and that for both tries, the depth of a typical node is asymptotic to log (n) in probability and in expectation.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Faster Searching in Tries and Quadtrees - An Analysis of Level Compression

We analyze the behavior of the level-compressed trie, LC-trie, a compact version of the standard trie data structure. Based on this analysis, we argue that level compression improves the performance of both tries and quadtrees considerably in many practical situations. In particular, we show that LC-tries can be of great use for string searching in compressed text. Both tries and quadtrees are ...

متن کامل

On the average depth of asymmetric LC-tries

Andersson and Nilsson have already shown that the average depth Dn of random LC-tries is only Θ (log∗ n) when the keys are produced by a symmetric memoryless process, and that Dn = O (log log n) when the process is asymmetric. In this paper we refine the second estimate by showing that asymptotically (with n → ∞): Dn ∼ 1 η log log n, where n is the number of keys inserted in a trie, η = − log (...

متن کامل

On the number of full levels in tries

We study the asymptotic distribution of the ll-up level in a binary trie built over n independent strings generated by a biased memoryless source. The ll-up level is the number of full levels in a tree. A level is full if it contains the maximum allowable number of nodes (e.g., in a binary tree level k can have up to 2 nodes). The ll-up level nds many interesting applications, e.g., in the inte...

متن کامل

Study of Random Biased d-ary Tries Model

Tries are the most popular data structure on strings. We can construct d-ary tries by using strings over an alphabet leading to d-ary tries. Throughout the paper we assume that strings stored in trie are generated by an appropriate memory less source. In this paper, with a special combinatorial approach we extend their analysis for average profiles to d-ary tries. We use this combinatorial appr...

متن کامل

Analysis of a Class of Tries with Adaptive Multi-digit Branching

We study a class of adaptive multi-digit tries, in which the numbers of digits rn processed by nodes with n incoming strings are such that, in memoryless model (with n →∞): rn → log n η (pr.) where η is an algorithm-specific constant. Examples of known data structures from this class include LC-tries (Andersson and Nilsson, 1993), ”relaxed” LC-tries (Nilsson and Tikkanen, 1998), tries with loga...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Random Struct. Algorithms

دوره 19  شماره 

صفحات  -

تاریخ انتشار 2001